<template>
	<button class="cu-btn my-btn" :style="{ background: bg, color: color }">
		<slot></slot>
	</button>
</template>

<script>
	export default {
		props: {
			color: {
				type: String
			},
			bg: {
				type: String
			}
		},
		data() {
			return {
				
			}
		}
	}
</script>

<style lang="scss">
	.my-btn {
		color: #fff;
		padding: 44rpx 0;
		font-size: 30rpx;
		letter-spacing: 2rpx;
	}
</style>
